package cn.hairui.blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 * 相册照片表
 * </p>
 *
 * @author laoganbu
 * @since 2020-04-15
 */
public class Albumimg implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 相册编号
     */
    @TableField("ALBUM_ID")
    private Integer albumId;

    /**
     * 照片名称
     */
    @TableField("IMG_NAME")
    private String imgName;

    /**
     * 照片路径
     */
    @TableField("IMG_PATH")
    private String imgPath;

    /**
     * 介绍
     */
    @TableField("INTRODUCTION")
    private String introduction;

    @TableField("ADD_TIME")
    private String addTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAlbumId() {
        return albumId;
    }

    public void setAlbumId(Integer albumId) {
        this.albumId = albumId;
    }

    public String getImgName() {
        return imgName;
    }

    public void setImgName(String imgName) {
        this.imgName = imgName;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }

    @Override
    public String toString() {
        return "Albumimg{" +
                "id=" + id +
                ", albumId=" + albumId +
                ", imgName=" + imgName +
                ", imgPath=" + imgPath +
                ", introduction=" + introduction +
                ", addTime=" + addTime +
                "}";
    }
}
